{if $lang == 'zh-TW'}
<script src="{res file='js/jiantifanti-1.0.1.min.js'}"></script>
<script type="text/javascript">
    function zh_tranTW(obj, tran) {
        var o = (typeof (obj) == 'object') ? obj.childNodes : document.body.childNodes;
        for (var i = 0; i < o.length; i++) {
            var c = o.item(i);
            if (['BR', 'HR', 'TEXTAREA', 'SCRIPT'].indexOf(c.tagName) !== -1) continue;
            if (c.className != '' && c.className != null && c.className != undefined && c.className == 'ignore') continue;
            if (c.title != '' && c.title != null) {
                c.title = tran(c.title);
            }
            if (c.alt != '' && c.alt != null) {
                c.alt = tran(c.alt);
            }
            if (c.tagName == 'INPUT' && c.value != '' && c.type != 'text' && c.type != 'hidden' && c.type != 'password') {
                c.value = tran(c.value);
            }
            if (c.tagName == 'META' && c.getAttribute('name') == 'description' && c.getAttribute('content')) {
                c.setAttribute('content', tran(c.getAttribute('content')));
            }
            if (c.nodeType == 3) {
                c.data = tran(c.data);
            } else {
                zh_tranTW(c, tran);
            }
        }
    }
    typeof jiantifanti == 'object' && zh_tranTW(document.body, jiantifanti.traditionalized);
    typeof jiantifanti == 'object' && zh_tranTW(document.head, jiantifanti.traditionalized);
</script>
{/if}
</body>

</html>